all: Base64Test \
	HttpTypesTest \
	ParamterHelperTest \
	HttpTest \
	JsonReaderTest \
	XmlReaderTest \
	UnmarshallerContextTest \
	EndpointTest \
	RegionsTest \
	HmacTest \
	CredentialTest \
	ProfileTest \
	AcsTypesTest

Base64Test: Base64Test.cc
	g++ Base64Test.cc -I.. -o Base64Test

HttpTypesTest: HttpTypesTest.cc
	g++ HttpTypesTest.cc -I.. -I/usr/include/apr-1.0/ \
		-lcurl -o HttpTypesTest

ParamterHelperTest: ParamterHelperTest.cc
	g++ ParamterHelperTest.cc -I.. -I/usr/include/apr-1.0/ \
		-laprutil-1 -o ParamterHelperTest

HttpTest: HttpTest.cc
	g++ HttpTest.cc -I.. -I/usr/include/apr-1.0/ \
		-lcurl -lcrypto -laprutil-1 \
		-o HttpTest -g

JsonReaderTest: JsonReaderTest.cc
	g++ JsonReaderTest.cc -I.. -o JsonReaderTest

XmlReaderTest: XmlReaderTest.cc
	g++ XmlReaderTest.cc -I.. -I/usr/include/apr-1.0/ \
		-laprutil-1 -lapr-1 \
		-o XmlReaderTest -g

UnmarshallerContextTest: UnmarshallerContextTest.cc
	g++ UnmarshallerContextTest.cc -I.. -I/usr/include/apr-1.0/ \
		-lcurl -o UnmarshallerContextTest

EndpointTest: EndpointTest.cc
	g++ EndpointTest.cc -I.. -o EndpointTest

RegionsTest: RegionsTest.cc
	g++ RegionsTest.cc  -I.. -I/usr/include/apr-1.0/ \
		-laprutil-1 -lapr-1 -lcurl -std=c++0x \
		-o RegionsTest

HmacTest: HmacTest.cc
	g++ HmacTest.cc -I .. -I /usr/include/apr-1.0/ \
		-lapr-1 -laprutil-1 -o HmacTest -g

CredentialTest: CredentialTest.cc
	g++ CredentialTest.cc -I .. -o CredentialTest

ProfileTest: ProfileTest.cc
	g++ ProfileTest.cc -I.. -I /usr/include/apr-1.0/ \
		-laprutil-1 -lapr-1 -lcurl \
		-o ProfileTest -g -std=c++0x

AcsTypesTest: AcsTypesTest.cc
	g++ AcsTypesTest.cc -I.. -I/usr/include/apr-1.0/ \
		-laprutil-1 -lapr-1 -lcurl \
		-o AcsTypesTest -g

clean:
	rm -v *Test

#